@inject IStringLocalizer<Resource> _localizer

<!doctype html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      height: 100%;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.5;
      color: #000;
      background-color: #f8f9fa;
      display: flex;
      height: 100%;
    }

    p {
      margin: 0;
    }

    .container {
      width: 32rem;
      max-width: 100%;
      padding: 2rem;
      margin: auto;

    }

    .title {
      margin: 0 0 1rem;
      font-weight: 500;
      font-size: 2rem;
    }

    .message {
      margin-bottom: 2rem;
      font-size: 1.25rem;
      color: #727272;
    }

    .button {
      padding: 0 1.5rem 0 .75rem;
      border-radius: .3rem;
      display: inline-block;
      background-color: #009e66;
      color: #fff;
      text-decoration: none;
      font-size: .875rem;
      font-weight: 500;
      line-height: 2.5rem;
    }

    .button:hover {
      background-color: #009460;
    }

    .button .icon {
      vertical-align: middle;
    }

    @@media screen and (min-width:480px) {
      .title {
        font-size: 2.5rem;
        font-weight: 700;
      }

      .message {
        font-size: 1.5rem;
        font-weight: 300;
      }

      .message .br {
        display: block;
      }

      .button {
        line-height: 2.75rem;
      }
    }
  </style>
  <title>@_localizer["page-not-found"]</title>
  <meta name="description" content="@_localizer["page-not-found-message"]">
</head>

<body>
  <main class="container">
    <h1 class="title">@_localizer["page-not-found"]</h1>
    <p class="message">@_localizer["page-not-found-message"]</p>
    <p>
      <a class="button" href="~/">
        <svg class="icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor"
          viewBox="0 0 16 16">
          <path fill-rule="evenodd"
            d="M12 8a.5.5 0 0 1-.5.5H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5a.5.5 0 0 1 .5.5z" />
        </svg>
        @_localizer["home"]
      </a>
    </p>
  </main>
</body>

</html>
